// 导入包
const uniq = require('uniq');

// 定义数组
const arr = [2, 5, 6, 6, 5, 8, 8, 9, 10];

const arr2 = uniq(arr);

console.log(arr2);
